package com.suyafei.request;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @program: suyafei-1024-shop
 * @description
 * @author: luffy
 * @create: 2021-03-22 09:57
 */

@ApiModel(value = "商品子项")
@Data
public class OrderItemRequest {

    @ApiModelProperty("商品Id")
    @JsonProperty("product_id")
    private long productId;


    @ApiModelProperty("购买数量")
    @JsonProperty("buy_num")
    private int buyNum;
}
